import request from '@/utils/request'

// 交流充电桩确认表提交接口
export function subCheckout(data) {
    return request({
      url: '/mes/checkout/interflow',
      method: 'post',
      data: data
    })
}


// 交流充电桩确认表查询接口
export function getCheckout(query) {
  return request({
    url: '/mes/checkout/interflow/list',
    method: 'get',
    params: query
  })
}

// 交流充电桩确认表修改接口
export function updataCheckout(data) {
  return request({
    url: '/mes/checkout/interflow',
    method: 'put',
    data: data
  })
}


// 交流充电桩确认表删除接口
export function deleteCheckout(ids) {
  return request({
    url: '/mes/checkout/interflow/'+ids,
    method: 'delete',
  })
}